﻿#ifndef CONVERTER_H
#define CONVERTER_H

#include <QObject>
#include <QImage>
#include <QPixmap>
#include "opencv2/opencv.hpp"
#include "opencv2/core.hpp"

class Converter : public QObject
{
    Q_OBJECT
public:
    explicit Converter(QObject *parent = nullptr);
    void mat2pixmap(const cv::Mat& mat);
signals:
    void out_pixmap(const QPixmap& pixmap);
};

#endif // CONVERTER_H
